package kr.go.nih.biomedi.pSEVA.bean;

public class Samstat {

	private String realFolder;
	private String inputFile;
	private String FieldSeparator=",";

	public String getRealFolder() {
		return realFolder;
	}

	public void setRealFolder(String realFolder) {
		this.realFolder = realFolder;
	}

	public String getInputFile() {
		return inputFile;
	}

	public void setInputFile(String inputFile) {
		this.inputFile = inputFile;
	}

	public String doSamstatExecute() {
		String strCmd = "/bin/sh" + FieldSeparator + "-c" + FieldSeparator + "/bin/cat " + this.getRealFolder() + "/" + this.getInputFile() + 
						".sam | /ldata/home/tslinux/Programs/samstat/src/samstat -f sam -n " + this.getRealFolder() + "/" + this.getInputFile();
		return strCmd;
	}	
	
}
